<?php
 	global  $_W,$_GPC;
 	if($_W['role']){
 		echo  random(1,true);
		$goods = pdo_fetchall("SELECT id,goodsname FROM".tablename('mii_ang_goods')." WHERE uniacid=:uniacid AND grounding = :grounding ORDER BY id DESC",array(':uniacid'=>$_W['uniacid'],':grounding'=>'1'));		
 		include $this->template('web/ad/adadd');
 	}else{
 		message('没有操作权限');
 	}


?>